﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_Input : UserControl
    {
        public Control_Input()
        {
            InitializeComponent();
        }

        private void Control_Input_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.panel3.Controls.Clear();
            Control_Restock_add cra = new Control_Restock_add();
            cra.Show();
            this.panel3.Controls.Add(cra);
        }

        private void panel3_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.panel3.Controls.Clear();
            Control_Restock_modify crm = new Control_Restock_modify();
            crm.Show();
            this.panel3.Controls.Add(crm);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.panel3.Controls.Clear();
            Control_Restock_delete crd = new Control_Restock_delete();
            crd.Show();
            this.panel3.Controls.Add(crd);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.panel3.Controls.Clear();
            Control_Restock_search crs = new Control_Restock_search();
            crs.Show();
            this.panel3.Controls.Add(crs);
        }
    }
}
